[INFO] fetching crate SadieFish 0.1.1...
[INFO] checking SadieFish-0.1.1 against try#19b19c1ea5b23336f439d5f7be1cc1b3f1220bef for pr-112999
[INFO] extracting crate SadieFish 0.1.1 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate SadieFish 0.1.1 on toolchain 19b19c1ea5b23336f439d5f7be1cc1b3f1220bef
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate SadieFish 0.1.1
[INFO] finished tweaking crates.io crate SadieFish 0.1.1
[INFO] tweaked toml for crates.io crate SadieFish 0.1.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 369c75ee01d175b42bb06cedec5b7f2fb00517050b8d8105a71f3d0b59489e36
[INFO] running `Command { std: "docker" "start" "-a" "369c75ee01d175b42bb06cedec5b7f2fb00517050b8d8105a71f3d0b59489e36", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "369c75ee01d175b42bb06cedec5b7f2fb00517050b8d8105a71f3d0b59489e36", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "369c75ee01d175b42bb06cedec5b7f2fb00517050b8d8105a71f3d0b59489e36", kill_on_drop: false }`
[INFO] [stdout] 369c75ee01d175b42bb06cedec5b7f2fb00517050b8d8105a71f3d0b59489e36
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eb7cb85c014ef0abe5ec14665dad3ee0472f6310698a383521927a4c9e0f6454
[INFO] running `Command { std: "docker" "start" "-a" "eb7cb85c014ef0abe5ec14665dad3ee0472f6310698a383521927a4c9e0f6454", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]     Checking cpufeatures v0.2.8
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking inout v0.1.3
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking aes v0.8.3
[INFO] [stderr]     Checking SadieFish v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `caesar_encrypt` is never used
[INFO] [stdout]  --> src/encryption/caesar.rs:4:4
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn caesar_encrypt(plaintext: &str, shift: u8) -> String {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `caesar_encrypt` is never used
[INFO] [stdout]  --> src/encryption/caesar.rs:4:4
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn caesar_encrypt(plaintext: &str, shift: u8) -> String {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `caesar_decrypt` is never used
[INFO] [stdout]   --> src/encryption/caesar.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn caesar_decrypt(ciphertext: &str, shift: u8) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/encryption/caesar.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HEX_ALPHABET` is never used
[INFO] [stdout]  --> src/utils/hex.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | const HEX_ALPHABET: &[u8; 16] = b"0123456789abcdef";
[INFO] [stdout]   |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encode_hex` is never used
[INFO] [stdout]  --> src/utils/hex.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn encode_hex(input: &[u8]) -> String {
[INFO] [stdout]   |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_hex` is never used
[INFO] [stdout]   --> src/utils/hex.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn decode_hex(input: &str) -> Result<Vec<u8>, String> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `SadieFish` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `sadie_fish`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `caesar_decrypt` is never used
[INFO] [stdout]   --> src/encryption/caesar.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn caesar_decrypt(ciphertext: &str, shift: u8) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/encryption/caesar.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HEX_ALPHABET` is never used
[INFO] [stdout]  --> src/utils/hex.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | const HEX_ALPHABET: &[u8; 16] = b"0123456789abcdef";
[INFO] [stdout]   |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encode_hex` is never used
[INFO] [stdout]  --> src/utils/hex.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn encode_hex(input: &[u8]) -> String {
[INFO] [stdout]   |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_hex` is never used
[INFO] [stdout]   --> src/utils/hex.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn decode_hex(input: &str) -> Result<Vec<u8>, String> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `SadieFish` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `sadie_fish`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sadiefish`
[INFO] [stdout]  --> tests/encryption_tests.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use sadiefish::{encrypt, decrypt};
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `sadiefish`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 1 | use SadieFish::{encrypt, decrypt};
[INFO] [stdout]   |     ~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `SadieFish` (test "encryption_tests") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `read_to_string` found for struct `ChildStdout` in the current scope
[INFO] [stdout]   --> tests/integration_tests.rs:22:34
[INFO] [stdout]    |
[INFO] [stdout] 22 |     child.stdout.take().unwrap().read_to_string(&mut output).unwrap();
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^ method not found in `ChildStdout`
[INFO] [stdout]   --> /rustc/19b19c1ea5b23336f439d5f7be1cc1b3f1220bef/library/std/src/io/mod.rs:769:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `ChildStdout` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::io::Read;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `SadieFish` (test "integration_tests") due to 2 previous errors
[INFO] [stdout] error[E0425]: cannot find function `encrypt` in this scope
[INFO] [stdout]   --> tests/unit_tests.rs:19:26
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let ciphertext = encrypt(plaintext, &key).unwrap();
[INFO] [stdout]    |                          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use SadieFish::encryption::vigenere::encrypt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `decrypt` in this scope
[INFO] [stdout]   --> tests/unit_tests.rs:22:25
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let decrypted = decrypt(&ciphertext, &key).unwrap();
[INFO] [stdout]    |                         ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use SadieFish::encryption::vigenere::decrypt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `encrypt` in this scope
[INFO] [stdout]   --> tests/unit_tests.rs:31:26
[INFO] [stdout]    |
[INFO] [stdout] 31 |         let ciphertext = encrypt(plaintext, &key).unwrap();
[INFO] [stdout]    |                          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use SadieFish::encryption::vigenere::encrypt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `decrypt` in this scope
[INFO] [stdout]   --> tests/unit_tests.rs:36:25
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let decrypted = decrypt(&ciphertext, &wrong_key);
[INFO] [stdout]    |                         ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use SadieFish::encryption::vigenere::decrypt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `encrypt` in this scope
[INFO] [stdout]   --> tests/unit_tests.rs:57:25
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let encrypted = encrypt(plaintext, key);
[INFO] [stdout]    |                         ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use SadieFish::encryption::vigenere::encrypt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `decrypt` in this scope
[INFO] [stdout]   --> tests/unit_tests.rs:66:25
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let decrypted = decrypt(ciphertext, key);
[INFO] [stdout]    |                         ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use SadieFish::encryption::vigenere::decrypt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `encrypt` in this scope
[INFO] [stdout]   --> tests/unit_tests.rs:75:26
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let ciphertext = encrypt(plaintext, &key).unwrap();
[INFO] [stdout]    |                          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use SadieFish::encryption::vigenere::encrypt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `decrypt` in this scope
[INFO] [stdout]   --> tests/unit_tests.rs:78:25
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let decrypted = decrypt(&ciphertext, &key).unwrap();
[INFO] [stdout]    |                         ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use SadieFish::encryption::vigenere::decrypt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `encrypt` in this scope
[INFO] [stdout]   --> tests/unit_tests.rs:93:30
[INFO] [stdout]    |
[INFO] [stdout] 93 |             let ciphertext = encrypt(&plaintext, &key).unwrap();
[INFO] [stdout]    |                              ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use SadieFish::encryption::vigenere::encrypt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `decrypt` in this scope
[INFO] [stdout]   --> tests/unit_tests.rs:95:29
[INFO] [stdout]    |
[INFO] [stdout] 95 |             let decrypted = decrypt(&ciphertext, &key).unwrap();
[INFO] [stdout]    |                             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use SadieFish::encryption::vigenere::decrypt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]  --> tests/unit_tests.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use super::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `generate_key` in this scope
[INFO] [stdout]   --> tests/unit_tests.rs:10:19
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let key = generate_key();
[INFO] [stdout]    |                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `generate_key` in this scope
[INFO] [stdout]   --> tests/unit_tests.rs:17:19
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let key = generate_key();
[INFO] [stdout]    |                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `generate_key` in this scope
[INFO] [stdout]   --> tests/unit_tests.rs:29:19
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let key = generate_key();
[INFO] [stdout]    |                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `generate_key` in this scope
[INFO] [stdout]   --> tests/unit_tests.rs:35:25
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let wrong_key = generate_key();
[INFO] [stdout]    |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `generate_key` in this scope
[INFO] [stdout]   --> tests/unit_tests.rs:45:23
[INFO] [stdout]    |
[INFO] [stdout] 45 |             let key = generate_key();
[INFO] [stdout]    |                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `generate_key` in this scope
[INFO] [stdout]   --> tests/unit_tests.rs:73:19
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let key = generate_key();
[INFO] [stdout]    |                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `gen_range` found for struct `ThreadRng` in the current scope
[INFO] [stdout]    --> tests/unit_tests.rs:87:27
[INFO] [stdout]     |
[INFO] [stdout] 87  |             let len = rng.gen_range(0, 1000);
[INFO] [stdout]     |                           ^^^^^^^^^ method not found in `ThreadRng`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:129:8
[INFO] [stdout]     |
[INFO] [stdout] 129 |     fn gen_range<T, R>(&mut self, range: R) -> T
[INFO] [stdout]     |        --------- the method is available for `ThreadRng` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 5   +     use rand::Rng;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `generate_key` in this scope
[INFO] [stdout]   --> tests/unit_tests.rs:91:23
[INFO] [stdout]    |
[INFO] [stdout] 91 |             let key = generate_key();
[INFO] [stdout]    |                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 18 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `SadieFish` (test "unit_tests") due to 19 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "eb7cb85c014ef0abe5ec14665dad3ee0472f6310698a383521927a4c9e0f6454", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb7cb85c014ef0abe5ec14665dad3ee0472f6310698a383521927a4c9e0f6454", kill_on_drop: false }`
[INFO] [stdout] eb7cb85c014ef0abe5ec14665dad3ee0472f6310698a383521927a4c9e0f6454
